Efficiently Estimating Joining Cost of Subqueries in Regular Path Queries
نویسندگان
چکیده
Evaluating Regular Path Queries (RPQs) have been of interest since they were used as a powerful way to explore paths and patterns in graph databases. Traditional automata-based approaches are restricted the size and/or highly complex queries, which causes high evaluation cost (e.g., memory space response time) on large graphs. Recently, although using approach based threshold rare label for graphs has achieving some success, could not often guarantee minimum searching cost. Alternatively, Unit-Subquery Cost Matrix (USCM) studied obtained viability usage subqueries. Nevertheless, this method an issue, is, it does cumulate among subqueries that long time graph. In order overcome paper proposes estimating joining accelerate USCM parallel RPQs graph, namely USCM-Join. Through real-world datasets, we experimentally show USCM-Join outperforms others enhances up around 20% terms time.
منابع مشابه
Efficiently Joining Group Patterns in SPARQL Queries
In SPARQL, conjunctive queries are expressed by using shared variables across sets of triple patterns, also called basic graph patterns. Based on this characterization, basic graph patterns in a SPARQL query can be partitioned into groups of acyclic patterns that share exactly one variable, or star-shaped groups. We observe that the number of triples in a group is proportional to the number of ...
متن کاملCost-Based Optimization of Regular Path Queries on Large Graphs
The significance of regular path queries (RPQs) on graphlike data structures has grown steadily over the past decade. Prominent application areas are XML/XPath, RDF/SPARQL, analysis of social networks, and queries on biomedical networks. However, current implementations of RPQ are restricted either in the type of the graph (e.g., only trees), the type of regular expressions (e.g., only single s...
متن کاملUniversal Regular Path Queries
Given are a directed edge-labelled graph G with a distinguished node n0, and a regular expression P which may contain variables. We wish to compute all substitutions φ (of symbols for variables), together with all nodes n such that all paths n0 → n are in φ(P). We derive an algorithm for this problem using relational algebra, and show how it may be implemented in Prolog. The motivation for the ...
متن کاملPreferential Regular Path Queries
In this paper, we introduce preferential regular path queries. These are regular path queries whose symbols are annotated with preference weights for “scaling” up or down the intrinsic importance of matching a symbol against a (semistructured) database edge label. Annotated regular path queries are expressed syntactically as annotated regular expressions. We interpret these expressions in a uni...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Electronics
سال: 2021
ISSN: ['2079-9292']
DOI: https://doi.org/10.3390/electronics10090990